package com.zhx.demo;


import com.zhx.annotation.ZHXAutowired;
import com.zhx.annotation.ZHXController;
import com.zhx.annotation.ZHXRequestMapping;
import com.zhx.demo.service.IUserService;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * @author litianxiang
 */
@ZHXController
@ZHXRequestMapping(value = "/xx")
public class UserController {


    @ZHXAutowired IUserService userService;
    /**
     * 用户列表
     *
     * @return
     */
    @ZHXRequestMapping(value = "/add")
    public void getUserList(String userName) {
        userService.add(userName);
    }


}
